/**
 * Copyright © 2009 Qasky. All rights reserved.
 *
 * 动态菜单接口
 *
 * @author Wang Hongya
 * @version 0.0.0 2019/10/15
 *
 * History:
 * (author, date, desc)
 * (Wang Hongya, 20191105, 创建文件)
 */
import request from '../libs/request';

/**
 * 加载动态APP路由
 * @returns {*}
 */
export function loadDynamicAppMenu () {
    return request({
      url: 'api/navNew',
      method: 'get'
    });
}


/**
 * 加载otherApp路由
 * @returns {*}
 */
export function loadDynamicOtherAppMenu () {
  return request({
    url: 'api/dynamicRouter',
    method: 'get'
  });
}
